<table cellpadding="0" cellspacing="0" align="center" width="100%">
	<tr>
		<td width=5><img src="{TPL_LINK}/img/shadow/CardShadow_LT.gif" width="5" height="5" style="vertical-align:bottom"></td>
		<td height=5 align="right" style="background-position:bottom;background-image:url(templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_T.gif);background-repeat:repeat-x"><img src="{TPL_LINK}/img/shadow/CardShadow_TR.gif" width="8" height="5" style="vertical-align:bottom"></td>
		<td width=8></td>
	</tr>
	<tr>
		<td width="5" background="templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_L.gif" valign="bottom"></td>
		<td>
			<table cellpadding="0" cellspacing="0" align="center" style="border: black 2px solid;" width="100%">
				<tr><td align="center" bgcolor="#000000" style="border: black 2px solid;;height:100"><?php	
				if ($row['m_type'] == 1) {
					include("templates/".$_SESSION['current_tpl']."/players/mp3.html");
				}
				elseif ($row['m_type'] == 2) {
					include("templates/".$_SESSION['current_tpl']."/players/swf.html");
				}
				elseif ($row['m_type'] == 3) {
					include("templates/".$_SESSION['current_tpl']."/players/wmv.html");
				}
								?></td></tr>
				<tr><td style="height:50px;vertical-align:top;padding:5"><?=$message;?><br></td></tr>
				<tr>
					<td align="right" bgcolor="#000000" height="20" style="color:white;font-size:10px">Gởi bởi <b><?=$r['gift_sender_name'];?></b> đến <b><?=$r['gift_recip_name'];?></b> vào lúc <b><?=strftime('%H:%M:%S - %d-%m-%Y',$r['gift_time']);?></b></td>
				</tr>
			</table>
		</td>
		<td width="8" valign="top" background="templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_R.gif"><img src="templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_RT.gif" width="8" height="8" style="vertical-align:top"></td>
	</tr>
	<tr>
		<td width="5" height="8"></td>
		<td height="8" style="background-position:top;background-image:url(templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_B.gif);background-repeat:repeat-x"><img src="templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_BL.gif" width="8" height="8" style="vertical-align:top"></td>
    	<td width="8" height="8"><img src="templates/<?=$_SESSION['current_tpl'];?>/img/shadow/CardShadow_BR.gif" width="8" height="8" style="vertical-align:top"></td>
	</tr>
</table>